package com.drivers.historyorder.service;

import com.drivers.model.historyorder.OrderAppraise;
import com.drivers.model.historyorder.DriverFeedBack;
import com.drivers.model.historyorder.UserPersonal;
import com.drivers.model.historyorder.vo.OperateVo;
import com.drivers.model.historyorder.vo.OrderVo;

import java.math.BigDecimal;
import java.util.List;

public interface HistoryOrderService {
    //查询历史订单接口
    List<OrderVo> findOrder(Integer driverId);
    //查询用户信息
    UserPersonal findUser(Integer userId);
    //添加司机反馈
    void addFeedBack(DriverFeedBack driverFeedBack);
    //添加或修改司机评价
    void addAppraise(OrderAppraise orderAppraise);
    //查询司机评价
    OrderAppraise findOrderAppraiseByOrderId(String orderId);
    //查询司机反馈
    DriverFeedBack findFeedBack(String orderId);

    OperateVo getmonth();

    BigDecimal getorderMoney(OrderVo orderVo);

    BigDecimal getdrivermoney(BigDecimal jg);

    BigDecimal getmoney(String orderId);
}
